<div>
  <table border="1">
    <thead>
      <tr bgcolor="#99CC00" align="center">
        <th>&nbsp;</th>
        <th>N&uacute;mero</th>
        <th>Nome</th>
        <th>Data de cria&ccedil;&atilde;o</th>
      </tr>
    </thead>
    <tbody>
      <% for relatorio in @relatorios %>
        <tr align="center">
          <td><%= link_to(image_tag("del.gif", :border => 0), { :action => 'destroy', :id => relatorio }, :confirm => 'Tem certeza?', :method => 'post') %></td>
          <td><%= link_to(relatorio.id, { :action => 'show', :relatorio => relatorio}) %></td>
          <td><%= relatorio.nome %></td>
          <td><%= relatorio.created_at.strftime("%d/%b/%Y &agrave;s %H:%M:%S") %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>